<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>BodyGuard体重管理 - 原型展示</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
  <style>
    body {
      background-color: #f5f5f5;
    }
    .prototype-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      padding: 2rem;
    }
    .device-frame {
      width: 390px;
      height: 844px;
      background-color: white;
      border-radius: 3rem;
      overflow: hidden;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      position: relative;
    }
    .device-notch {
      position: absolute;
      width: 150px;
      height: 30px;
      background-color: #000;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      border-bottom-left-radius: 1rem;
      border-bottom-right-radius: 1rem;
      z-index: 100;
    }
    .device-iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    .page-title {
      text-align: center;
      padding: 0.5rem;
      background-color: #f0f0f0;
      font-weight: bold;
      border-bottom: 1px solid #ddd;
    }
  </style>
</head>
<body>
  <header class="bg-green-600 text-white py-4">
    <div class="container mx-auto px-4">
      <h1 class="text-3xl font-bold">BodyGuard体重管理 - 微信小程序原型</h1>
      <p class="mt-2">高保真界面原型展示，模拟iPhone 15 Pro尺寸</p>
    </div>
  </header>

  <div class="prototype-container">
    <!-- 首页/仪表盘 -->
    <div class="flex flex-col">
      <div class="page-title">首页/仪表盘</div>
      <div class="device-frame">
        <div class="device-notch"></div>
        <iframe src="pages/dashboard.html" class="device-iframe"></iframe>
      </div>
    </div>

    <!-- 记录页 -->
    <div class="flex flex-col">
      <div class="page-title">记录页</div>
      <div class="device-frame">
        <div class="device-notch"></div>
        <iframe src="pages/record.html" class="device-iframe"></iframe>
      </div>
    </div>

    <!-- 数据分析页 -->
    <div class="flex flex-col">
      <div class="page-title">数据分析页</div>
      <div class="device-frame">
        <div class="device-notch"></div>
        <iframe src="pages/analysis.html" class="device-iframe"></iframe>
      </div>
    </div>

    <!-- 健康任务页 -->
    <div class="flex flex-col">
      <div class="page-title">健康任务页</div>
      <div class="device-frame">
        <div class="device-notch"></div>
        <iframe src="pages/tasks.html" class="device-iframe"></iframe>
      </div>
    </div>

    <!-- 个人设置页 -->
    <div class="flex flex-col">
      <div class="page-title">个人设置页</div>
      <div class="device-frame">
        <div class="device-notch"></div>
        <iframe src="pages/profile.html" class="device-iframe"></iframe>
      </div>
    </div>
  </div>

  <footer class="bg-gray-200 py-4 text-center">
    <p>BodyGuard体重管理 &copy; 2024 - 原型设计</p>
  </footer>
</body>
</html> 